#!/bin/bash
docker stop xwb
docker rm -v xwb
docker rmi xwb/xwb:latest
docker build --rm -t xwb/xwb .
docker run --name xwb --hostname xwb -d --net www --restart=always -e TZ=Asia/Shanghai -v ${PWD}/logs:/logs -p 38880:8080 xwb/xwb

